/**
  ************************************* Copyright ******************************   
  * FileName   : iap.h   
  * Version    : v1.0		
  * Author     : yychao	
  * Date       : 2023-03-03         
  * Description:    
  * Function List:  
  	1. ....
  	   <version>: 		
  <modify staff>:
  		  <data>:
   <description>:  
  	2. ...
  ******************************************************************************
 */

#ifndef __IAP_H_
#define __IAP_H_
#include "main.h"

#define FLASH_APP_BASE_ADDR 0x08008000 //BOOTLOAD reserves 32K space, APP program starts from 0x08008000

typedef void (*iapfun)(void); // Define a function type parameter.
void iap_load_app(uint32_t appxaddr); //Jump to APP program execution


#endif


